<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%
	String path = request.getContextPath();
	String basePath = request.getScheme() + "://"
			+ request.getServerName() + ":" + request.getServerPort()
			+ path + "/";
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<HTML xmlns="http://www.w3.org/1999/xhtml" xml:lang="zh-CN">
	<STYLE>
.note-anywhere {
	background-color: #fff046;
	color: #006;
	height: 200px;
	padding: 10px;
	position: absolute;
	width: 150px;
	-webkit-box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.5);
}

.note-anywhere:hover .closebutton {
	display: block;
}

.note-anywhere .closebutton {
	display: none;
	background-image: url(deleteButton.png);
	height: 30px;
	position: absolute;
	left: -15px;
	top: -15px;
	width: 30px;
}

.note-anywhere  .edit {
	outline: none;
	text-align: left;
	font-size: 14px;
	font-family: arial, sans-serif;
	height: 190px;
	overflow: auto;
}

.note-anywhere .timestamp {
	position: absolute;
	left: 0px;
	right: 0px;
	bottom: 0px;
	font-size: 9px;
	background-color: #db0;
	color: white;
	/*border-top: 1px solid #a80;*/
	padding: 2px 4px;
	text-align: right;
}
</STYLE>
	<HEAD>
		<META http-equiv="Content-Type" content="text/html; charset=UTF-8">

		<META name="menu" content="EntryMenu">
		<LINK rel="stylesheet" type="text/css" media="all"
			href="/blog/css/admin/theme.css">
		<LINK rel="stylesheet" type="text/css" media="print"
			href="/blog/css/admin/print.css">
		<SCRIPT type="text/javascript" src="/blog/js/prototype.js"></SCRIPT>
		<SCRIPT type="text/javascript" src="/blog/js/admin.js"></SCRIPT>

		<!-- tinyMCE -->
		<script language="javascript" type="text/javascript"
			src="/blog/js/jscripts/tiny_mce/tiny_mce.js"></script>
		<script language="javascript" type="text/javascript">
			tinyMCE.init( {
				mode : "textareas",
				theme : "advanced"
			});
		</script>
		<!-- /tinyMCE -->

		<TITLE>Administration Control Panel</TITLE>
		<LINK id="noteanywherecss" media="screen" type="text/css"
			rel="stylesheet"
			href="data:text/css,.note-anywhere%20.closebutton%7Bbackground-image%3A%20url%28chrome-extension%3A//bohahkiiknkelflnjjlipnaeapefmjbh/asset/deleteButton.png%29%3B%7D%0A">
	</HEAD>
	<BODY>
		<DIV id="page">
			<DIV id="header" class="clearfix">
				<DIV id="branding">
					<H1>
						<A href="/blog/">MyBlog</A>
					</H1>
					<P>
						Powerful system
					</P>
				</DIV>
				<HR>
			</DIV>
			<DIV id="content" class="clearfix">
				<DIV id="main">
					<H1>
						New Blog
					</H1>
					<FORM id="entryForm" method="post"
						action="modifyBlog?blog=${blog.id }" onsubmit="return checkForm()">
						<UL>
							<LI>
								<LABEL for="title" class="desc">
									Blog Title
									<SPAN class="req">*</SPAN>
								</LABEL>
								<INPUT id="title" name="title" class="text large" type="text"
									value="${blog.blogname }">
							</LI>
							<LI>
								<LABEL for="tags" class="desc">
									Blog tags (split by comma[,])
								</LABEL>
								<INPUT id="tags" name="tags" class="text large" type="text"
									value="">
							</LI>
							<LI>
								<LABEL for="cates" class="desc">
									Blog Category
									<SPAN class="req">*</SPAN>
								</LABEL>
								<INPUT type="checkbox" name="cates"
									value="ff808181295e853101295e8540ed0004">
								生活&nbsp;
							</LI>
							<LI class="editor">
								<LABEL for="content" class="desc">
									Content
									<SPAN class="req">*</SPAN>
								</LABEL>

								<TEXTAREA id="blogContent" name="blogContent" rows="20" cols="70" value="${blog.content }"></TEXTAREA>
							</LI>
							
							<LI class="buttonBar bottom">
								<INPUT type="submit" class="button" name="publish"
									value="Publish">
							</LI>
						</UL>
					</FORM>
				</DIV>

			</DIV>
			<DIV id="footer" class="clearfix">
				<DIV id="divider">
					<DIV>
					</DIV>
				</DIV>
				<SPAN class="left">Build
					[Ver1.8.3.20091225-Christmas-Day-Patch] | <SPAN id="validators">
						<A href="http://validator.w3.org/check?uri=referer">XHTML
							Valid</A> | <A
						href="http://jigsaw.w3.org/css-validator/validator-uri.html">CSS
							Valid</A> </SPAN> </SPAN>
				<SPAN class="right"> Copyright© 2006 <A
					href="http://jdkcn.com/">Jdkcn.com</A> </SPAN>
			</DIV>
		</DIV>
	</BODY>
</HTML>
